package com.example.demo6.SQLite;

import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.PrimaryKey;

@Entity(tableName = "pickupGoods")
public class PickupGoods {
    @PrimaryKey(autoGenerate = true)
    @ColumnInfo(name = "PickupId")
    public int PickupId;

    @ColumnInfo(name = "PickupGoods")
    public String pickupGoods;

    @ColumnInfo(name = "Pickup")
    public String pickup;

    @ColumnInfo(name = "PickupPlace")
    public String pickupPlace;

    @ColumnInfo(name = "PickupTime")
    public String pickupTime;

    @ColumnInfo(name = "PickupPhone")
    public String pickupPhone;

    @ColumnInfo(name = "PickupDetail")
    public String pickupDetail;

    public PickupGoods(String pickupGoods, String pickup, String pickupPlace, String pickupTime, String pickupPhone, String pickupDetail) {
//        PickupId = pickupId;
        this.pickupGoods = pickupGoods;
        this.pickup = pickup;
        this.pickupPlace = pickupPlace;
        this.pickupTime = pickupTime;
        this.pickupPhone = pickupPhone;
        this.pickupDetail = pickupDetail;
    }

    public int getPickupId() {
        return PickupId;
    }

    public void setPickupId(int pickupId) {
        PickupId = pickupId;
    }

    public String getPickupGoods() {
        return pickupGoods;
    }

    public void setPickupGoods(String pickupGoods) {
        this.pickupGoods = pickupGoods;
    }

    public String getPickup() {
        return pickup;
    }

    public void setPickup(String pickup) {
        this.pickup = pickup;
    }

    public String getPickupPlace() {
        return pickupPlace;
    }

    public void setPickupPlace(String pickupPlace) {
        this.pickupPlace = pickupPlace;
    }

    public String getPickupTime() {
        return pickupTime;
    }

    public void setPickupTime(String pickupTime) {
        this.pickupTime = pickupTime;
    }

    public String getPickupPhone() {
        return pickupPhone;
    }

    public void setPickupPhone(String pickupPhone) {
        this.pickupPhone = pickupPhone;
    }

    public String getPickupDetail() {
        return pickupDetail;
    }

    public void setPickupDetail(String pickupDetail) {
        this.pickupDetail = pickupDetail;
    }
}
